#[macro_use]
extern crate getset;

pub mod config;
pub mod configs;

pub use self::config::ApplicationConfig;
pub use self::configs::rbac::RBACConfig;
use lazy_static::lazy_static;
use async_std::sync::{RwLock};

lazy_static! {
    pub static ref CONFIG: RwLock<ApplicationConfig> = RwLock::new(ApplicationConfig::new());
}